<?php
/**
 * Project: Recipe
 * File: FoodArticleModel.class.php
 * Author: Xnfy520@gmail.com
 * Date: 12-5-31
 * Time: 下午5:49
 */

class FoodArticleModel extends RelationModel{

	protected $_link = array(
		'FoodNutritions'=>array(
			'mapping_type'=>HAS_ONE,
			'mapping_name'=>'foodnutritions',
			'class_name'=>'FoodNutritions',
			'foreign_key'=>'articleid',
		),
	);

}